package com.uwo.house.service;

import java.util.List;
import java.util.Map;

import com.uwo.house.beans.request.BindSupervisionReq;
import com.uwo.house.beans.request.SupervisionReportReq;
import com.uwo.house.beans.request.SupervisionSearchReq;
import com.uwo.house.beans.response.SupervisionOrderResp;

public interface ISupervisionService {
	/*
	 *老方法
	 * 监理订单查询
	 * @param searchFilter 查询条件
	 * @return

	Map<String, Object>  getSupervisionOrderSelective(SupervisionSearchReq searchFilter);*/

	List<SupervisionOrderResp> getSupervisionOrderSelective(SupervisionSearchReq supervisionSearchReq);



	void bindSupervisionOrder(BindSupervisionReq supervision);

	/**
	 * 监理人员上传我的报告
	 */
	int insertReport(SupervisionReportReq supervisionReportReq);


	/**
	 * 更新监理订单状态
	 * @return
	 */
	int updateStatus(String orderId, String supervisorId);

	/**
	 *
	 * 显示监理订单详情
	 */
	List<SupervisionReportReq> getReport(String orderId,String supervisorId);
}
